﻿using System.Collections.Generic;

namespace ArmyManager.Items
{
	public class Armor : Item
	{
		public static readonly Armor None = new Armor("None",  ArmorTypes.Universal, new List<ItemAttribute>(), false);

		public enum ArmorTypes
		{
			Universal,
			Cloth,
			Leather,
			Mail,
			Plate
		}

		public ArmorTypes ArmorType { get; private set; }

		protected Armor() { }

		public Armor(string name, ItemTypes itemType, ArmorTypes armorType, List<ItemAttribute> attributes, bool canKeep)
			: base(name, itemType, attributes, canKeep)
		{
			ArmorType = armorType;
		}

		protected override Item CloneInternal()
		{
			return new Armor { ArmorType = ArmorType };
		}
	}
}